<style>
  div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 400px;
  }

  div, span {
    outline: 1px solid;
    font-size: 40px;
    font-family: monospace;
  }
</style>

<div><span>SPAN NESTED INSIDE DIV</span> CONTAINER DIV</div>
